package javacore.logging;

import org.apache.log4j.Logger;

public class LogTest {
	
	static Logger log = Logger.getLogger(
					LogTest.class.getName());

	public static void main(String[] args) {
		
		System.out.println("Logging information");
		System.out.println("....");
		log.debug("debug message");
		log.info("info message");
		log.warn("warn message");
		log.error("error message");
		log.fatal("fatal message");
		System.out.println("Logging completed");
	}

}
